<template>
  <div class="h100vh home">
    <div class="mt-10vh">
      <el-upload
          :limit="1"
          :action="$const.AppConst.baseUrl+'test/upload'"
          :on-progress="testpros"
      >
        <el-button size="small" type="primary">点击上传</el-button>
      </el-upload>
    </div>
  </div>
</template>

<script lang="ts">
import {Component, Vue} from 'vue-property-decorator';

@Component
export default class Home extends Vue {
}
</script>
